﻿@{
    Layout = null;
}
@model IList<ProductPartitionInfo>
<!DOCTYPE html>
<html>
<head>

    <title></title>
    <meta name="description" content="">

    <meta name="keywords" content="">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <link href="/Content/Login/login.css" rel="stylesheet" />
    <script src="/Scripts/jquery-1.8.2.min.js"></script>
    <script src="/Scripts/jquery.validate.min.js"></script>
    <script src="/Scripts/jquery.validate.unobtrusive.min.js"></script>

    <link href="@Url.Content("~/Areas/CPP/Content/merge-120609.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Areas/CPP/Content/v1.css")" rel="stylesheet" />

    <style type="text/css">
        body {
            background-color: #fff;
        }

        .obj-category {
            width: 750px;
        }

        .loginItems {
            height: auto;
            margin-top: 0;
            width: auto;
            margin-left: 20px;
        }

        .loginLabel, .loginForm {
            float: none;
            height: 24px;
            line-height: 24px;
        }

        .txts {
            border: 1px solid #ccc;
            margin-left: 0;
            width: 180px;
        }

        .txtCode {
            width: 60px;
        }

        .main_moudles {
            float: left;
            display: inline;
        }

        .mod-categories {
            width: 990px;
        }

        .obj-hot-words {
            width: 990px;
        }
        .ali-nav2 li a {
            font-size: 14px;
        }
    </style>
    <script type="text/javascript">
        $(function () {

            $("#validateCode").click(function () {
                $(this).attr("src", '/Login/GetValidateCode?time=' + (new Date()).getTime());
            });

            $("#submit").click(function () {
                $("#loginForm").submit();
            });

            $("#btnRegister").click(function () {
                location.href = "@Url.Action("Register", "Default")";
            });

            $(".mod-categories").hover(function() {
                $(this).addClass("over");
            }, function() {
                $(this).removeClass("over");
            });
        });
    </script>
</head>
<body data-spm="635">
    <div id="topPic01" style="height: 600px; width: 998px; background: red; display: none; margin: 0 auto;">
        <img src="/Areas/CPP/Images/006.jpg" style="height: 600px; width: 998px;" />
    </div>
    @{ Html.RenderAction("TopMenu", "CPartial");}
    <div>
        @{ Html.RenderAction("Header", "CPartial");}
    </div>
    <div>
        @{ Html.RenderAction("Menu", "CPartial");}
    </div>
    <div id="doc" class="sw-layout-doc">
        <div class="layout" id="content-inner">
            <div id="content">
                <div class="layout-p32a24">

                    <div class="mod-crumbs">
                        <div class="content">
                            <ol class="list">
                                <li>文化徽商</li>
                                <li class="current">全类目&nbsp;&nbsp;</li>
                            </ol>
                        </div>
                    </div>
                </div>
                <div class="layout-p32a24">
                    <div class="grid-24">
                        @foreach (var item in Model)
                        {
                            <div class="mod-categories">
                                <div class="cell-header br-orange bg-yellow" style="visibility: visible; width:22px;">
                                    <h3 style="font-size:16px; width:22px;"><strong>@item.Name</strong></h3>
                                </div>
                                <div class="content br-orange">
                                    <div class="latitude-zone" style="display:none;">
                                        <dl class="obj-hot-words define">
                                            <dt>热搜词：</dt>
                                            <dd><a title="china alibaba" href="http://search.china.alibaba.com/selloffer/--2816.html">招聘职位</a></dd>
                                            <dd><a title="china alibaba" href="http://search.china.alibaba.com/selloffer/--1036498.html">兼职职位</a></dd>
                                            <dd><a title="china alibaba" href="http://search.china.alibaba.com/selloffer/--2842.html">求职简历</a></dd>
                                            <dd><a title="china alibaba" href="http://search.china.alibaba.com/selloffer/--1033594.html">国内陆运</a></dd>
                                            <dd><a title="china alibaba" href="http://search.china.alibaba.com/selloffer/--1033597.html">国际海运</a></dd>
                                            <dd><a title="china alibaba" href="http://search.china.alibaba.com/selloffer/--2814.html">快递服务</a></dd>
                                            <dd><a title="china alibaba" href="http://search.china.alibaba.com/selloffer/--2830.html">货代服务</a></dd>
                                        </dl>
                                    </div>

                                    @{
                            var parents = item.Children;
                            var mLen = parents.Count;
                            for (int i = 0; i < mLen; i += 3)
                            {
                                        <div class="latitude-zone">
                                            <ul class="list-tags">
                                                @foreach (var parent in parents.Skip(i).Take(3))
                                                {
                                       
                                                    <li>
                                                        <dl class="cell-tags">
                                                            <dt><a title="@parent.Name" href="@Url.Action("Products", "Default", new { partitionId = parent.PartitionId })">@parent.Name</a></dt>
                                                            @{ var partitions = parent.Children;
                                                               var pLen = partitions.Count;
                                                               for (int j = 0; j < pLen; j += 3)
                                                               {
                                                                <dd>
                                                                    <ul>
                                                                        @foreach (var partition in partitions.Skip(j).Take(3))
                                                                        {
                                                                            <li><a title="@partition.Name" href="@Url.Action("Products", "Default", new { partitionId = partition.PartitionId })">@partition.Name</a></li>
                                                                        }

                                                                    </ul>
                                                                </dd>
                                                               
                                                               }
                                                                                                                  
                                                            }

                                                        </dl>
                                                    </li>

                                                }
                                            </ul>
                                        </div>
                            }
                                    }

                                </div>
                            </div>
                        }

                    </div>
                </div>
            </div>
        </div>
    </div>
    <div>

        @{ Html.RenderAction("Footer", "CPartial");}

    </div>
</body>
</html>
